package com.example.demo1.controller;

import com.example.demo1.entity.Girl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @Autowired
    private Girl girl;


    @GetMapping(value = "/hello")
    public String say() {
        System.out.println("hhhhhhh");
        return girl.getCupSize();
    }
}
